/*
 * @Author: 贺楠 1071780426@qq.com
 * @Date: 2024-09-13 11:26:44
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2024-10-12 10:18:02
 * @FilePath: \monitoring_system\src\views\testMachineManage\testNameManage\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    searchObj: [
    {
        input: true, //是input
        label: ".", //字段
        prop: "keyWord", //字段名
        width: 4, //参考el-col
        disabled: false, //是否禁用
        placeholder: "样品类型/试验名称",

    },
    {
        btn: true, //是input
        label: ".", //字段
        prop: "", //字段名
        width: 2, //参考el-col
        disabled: false, //是否禁用
        // placeholder: "规格型号",

    },


],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
                label: "样品类型",
                prop: "fSampletype",
                minWidth: "70px",
                align: "center",
                Jump: true,
            },
            {
                label: "试验编码",
                prop: "fTestno",
                minWidth: "100px",
                align: "left",
            },
             {
                label: "试验名称",
                prop: "fTestname",
                minWidth: "150px",
                align: "left",
            },
            {
                label: "试验简称",
                prop: "fTestshortname",
                minWidth: "105px",
                align: "left",
            },
            {
                label: '试验代码',
                prop: 'fTestcode',
                minWidth: '140px',
                align: "center",
            },
            {
                label: "试验依据",
                prop: "fTestbasis",
                minWidth: "120px",
                align: "center",
            },
            {
                label: "是否启用",
                prop: "fIsuse",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "添加人员",
                prop: "fCreateusername",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "添加日期",
                prop: "fCreatedates",
                minWidth: "90px",
                align: "center",
            },
        ],
        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: []
        },
    },
    btnObj: [{
            fEncode: "yj_add",
            fFullname: "新增",
            fOrder: 1
        },
        {
            fEncode: "yj_edit",
            fFullname: "编辑",
            fOrder: 2
        },{
            fEncode: "yj_delete",
            fFullname: "删除",
            fOrder: 3
        },
        {
            fEncode: "yj_copy",
            fFullname: "复制",
            fOrder: 12
        },
    ]
}